package com.zhuyi.broadcast.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *     审核记录实体类
 * </p>
 *
 * @author dyj
 * @since 2024-12-24
 */
@Getter
@Setter
@TableName("bc_audit_record")
public class AuditRecord implements Serializable {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 任务ID
     */
    @TableField("task_id")
    private Long taskId;

    /**
     * 审核者ID
     */
    @TableField("auditor_id")
    private Long auditorId;

    /**
     * 审核结果
     */
    @TableField("result")
    private String result;

    /**
     * 审核意见
     */
    @TableField("comments")
    private String comments;

    /**
     * 审核时间
     */
    @TableField("audit_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;



}
